<script setup lang="ts">
import { DiCheck, i18n, locale, DiTreeOrg } from 'a3-libs'
import { Button } from 'ant-design-vue'
import { ref } from 'vue'
const hello = ref([])
</script>

<template>
  <div>
    <Button @click="locale = locale == 'zh_CN' ? 'en' : 'zh_CN'">{{
      locale == 'zh_CN' ? '中文' : '英文'
    }}</Button>
    <DiCheck v-model:value="hello" dict="FIRST_LEVEL_INDEX"></DiCheck>
    <DiTreeOrg :style="{ width: '100%' }"></DiTreeOrg>
    <br />
    <h1>{{ i18n.message.user }}</h1>
    <h1>{{ i18n.button.default }}</h1>
  </div>
</template>
